package com.benbi.shequapi.mapper;
//tyc version

import com.benbi.shequapi.bean.News;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


public interface NewsMapper {
    List<News> selectNewsList();
    News selectNewsByNewsid(@Param("news_id")int news_id);
    int deleteNewsByNewsid(@Param("news_id")int news_id);
    int insertNews(@Param("news") News news);
}
